package org.goyo.main.services.system.impl;

import java.util.List;

import javax.annotation.Resource;
import javax.transaction.Transactional;

import org.goyo.main.domain.dao.system.ISysUserDepGroupDao;
import org.goyo.main.domain.entity.system.SysUserDepGroup;
import org.goyo.main.services.system.ISysUserDepGroupService;
import org.springframework.stereotype.Service;

@Service
@Transactional
public class SysUserDepGroupServiceImpl implements ISysUserDepGroupService {
	@Resource
	private ISysUserDepGroupDao sysUserDepGroupDao;
	
	@Override
	public List<SysUserDepGroup> findByUserId(String userId) {
		return sysUserDepGroupDao.findByUserId(userId);
	}

}
